﻿using B.S.DataBase.Production.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.Production.Infrastructure
{
    public class DBContext : DbContext
    {
        public DBContext(DbContextOptions options) : base(options) { }

        public DbSet<AttachmentInfoModel> ERP_AttachmentInfoModel { get; set; }
        public DbSet<BatchWorkAddMondel> ERP_BatchWorkAddMondel { get; set; }
        public DbSet<DispatchMaterial> ERP_DispatchMaterialModel { get; set; }
        public DbSet<DispatchProduct> ERP_DispatchProductModel { get; set; }
        public DbSet<MaterialDetailModel> ERP_MaterialDetailModel { get; set; }
        public DbSet<MaterialListModel> ERP_MaterialListModel { get; set; }
        public DbSet<MaterialRegistrationDetailModel> ERP_MaterialRegistrationDetailModel { get; set; }
        public DbSet<MaterialRegistrationFormModel> ERP_MaterialRegistrationFormModel { get; set; }
        public DbSet<MaterialReturnFormModel> ERP_MaterialReturnFormModel { get; set; }
        public DbSet<PreProductionPlanDetailMondel> ERP_PreProductionPlanDetailMondel { get; set; }
        public DbSet<PreProductionPlanMondel> ERP_PreProductionPlanMondel { get; set; }
        public DbSet<ProductionDetail> ERP_ProductionDetailModel { get; set; }
        public DbSet<ProductionDetailMondel> ERP_ProductionDetailMondel { get; set; }
        public DbSet<ProductionDispatch> ERP_ProductionDispatchModel { get; set; }
        public DbSet<ProductionModel> ERP_ProductionModelModel { get; set; }
        public DbSet<ProductionOrderMondel> ERP_ProductionOrderMondel { get; set; }
        public DbSet<ProductionOrderProgressMondel> ERP_ProductionOrderProgressMondel { get; set; }
        public DbSet<ProductionPlanMondel> ERP_ProductionPlanMondel { get; set; }
        public DbSet<PurchaseProgressMondel> ERP_PurchaseProgressMondel { get; set; }
        public DbSet<ReplenishmentDetailModel> ERP_ReplenishmentDetailModel { get; set; }
        public DbSet<ReplenishmentModel> ERP_ReplenishmentModel { get; set; }
        public DbSet<ReturnDetailModel> ERP_ReturnDetailModel { get; set; }
        public DbSet<ScrapDetailModel> ERP_ScrapDetailModel { get; set; }
        public DbSet<ScrapFormModel> ERP_ScrapFormModel { get; set; }
        public DbSet<SourceDocumentMondel> ERP_SourceDocumentMondel { get; set; }
        public DbSet<SubComponentModel> ERP_SubComponentModel { get; set; }
        public DbSet<WorkDetailMondel> ERP_WorkDetailMondel { get; set; }




    }
}
